package com.langfeiyes.pattern.builder.v2;

//饮料父类
public class Drink {
    private String packing;    //牌子
    private String ingredient;  //配料
    private String drink;        //饮料类型

    public String getPacking() {
        return packing;
    }
    public void setPacking(String packing) {
        this.packing = packing;
    }
    public String getIngredient() {
        return ingredient;
    }
    public void setIngredient(String ingredient) {
        this.ingredient = ingredient;
    }
    public String getDrink() {
        return drink;
    }
    public void setDrink(String drink) {
        this.drink = drink;
    }
    @Override
    public String toString() {
        return "Drink{" +
                "packing='" + packing + '\'' +
                ", ingredient='" + ingredient + '\'' +
                ", drink='" + drink + '\'' +
                '}';
    }



}
